//
//  MapModel.m
//  FXYD
//
//  Created by zuqiu on 17/3/21.
//  Copyright © 2017年 zuqiu. All rights reserved.
//

#import "MapModels.h"

@implementation MapModels
+ (instancetype)createObjWithInfoDictionary:(NSDictionary *)dictionary {
    return [[self alloc]initObjWithDictionary:dictionary];
}

- (instancetype)initObjWithDictionary:(NSDictionary *)dictionary {
    self = [super init];
    if (self) {
        self.addtime = [dictionary objectForKey:@"addtime"];
        self.adduser = [dictionary objectForKey:@"adduser"];
        self.checkcode = [dictionary objectForKey:@"checkcode"];
        self.checklist = [dictionary objectForKey:@"checklist"];
        self.fgtype = [dictionary objectForKey:@"fgtype"];
        self.intype = [dictionary objectForKey:@"intype"];
        self.jd= [dictionary objectForKey:@"jd"];
        self.optime = [dictionary objectForKey:@"optime"];
        self.opuser= [dictionary objectForKey:@"opuser"];
        self.picture = [dictionary objectForKey:@"picture"];
        self.portid = [dictionary objectForKey:@"portid"];
        self.state = [dictionary objectForKey:@"role"];
        self.totalnum = [dictionary objectForKey:@"totalnum"];
        self.usenum = [dictionary objectForKey:@"usenum"];
        self.wd = [dictionary objectForKey:@"wd"];
        self.xqid = [dictionary objectForKey:@"xqid"];
        self.zyid = [dictionary objectForKey:@"zyid"];
        self.zymodel = [dictionary objectForKey:@"zymodel"];
        self.zyname = [dictionary objectForKey:@"zyname"];
        self.zynum = [dictionary objectForKey:@"zynum"];
        self.zytype = [dictionary objectForKey:@"zytype"];
    }
    return self;
}

@end
